<?php


namespace app\admin\model;


use think\Model;

class AdminLogModel extends Model
{
    public function userInfo()
    {
        return $this->hasOne('UserModel', 'id', 'admin_id')->bind([
            'admin_name' => 'user_login'
        ]);
    }
}
